<?php
declare (strict_types=1);

namespace app\model;

use think\Model;

/**
 * @mixin \think\Model
 */
class GoodsCategory extends Model
{
    protected $table = 'ctmon_goods_category';
    protected $pk = 'cat_id';
    protected $schema = [
        'cat_id' => 'int',
        'parent_id' => 'int',
        'cat_name' => 'varchar',
        'cat_ico' => 'varchar',
        'cat_desc' => 'text',
        'cat_path' => 'text',
        'list_tlp' => 'varchar',
        'info_tlp' => 'varchar',
        'cat_level' => 'int',
        'cat_subcount' => 'int',
        'measure_unit' => 'varchar',
        'show_in_nav' => 'bit',
        'is_show' => 'bit',
        'is_hot' => 'bit',
        'sort_order' => 'int',
        'page_size' => 'int',
        'urlrewriter' => 'varchar',
        'pagetitle' => 'text',
        'pagekeywords' => 'text',
        'pagedesc' => 'text',
        'pricearea' => 'text',
        'cat_name_en' => 'varchar',
        'is_mobile' => 'bit',
        'cat_h_ico' => 'text',
        'cat_ms' => 'text',
        'cmscatid' => 'varchar',
        'link' => 'varchar',
        'nav_id' => 'int',
        'photo' => 'varchar',
        'ad_des' => 'text',
        'url' => 'varchar',
    ];
}
